package com.medical.medical.service;

import com.medical.medical.entity.WorkForces;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @authorDesc 诸神在上，佑我程序，玄功护体，BUG皆去！
 * @author LiSuYang
 * @Date 2022-09-14 09:38:41
 * @version 1.0.0
 * @description 排班表-业务逻辑层接口
 */
public interface WorkForcesService {
    /**
     * 条件查询（根据 科室id、医生id 查询排班信息 ）
     * @param workforcesDepartment
     * @param workforcesDoctor
     * @return
     */
    List<WorkForces> getWordByKidAndDid(Integer workforcesDepartment, Integer workforcesDoctor);

    /**
     * 根据科室id查询排班信息
     * @param workforcesDepartment
     * @return
     */
    int getWorkCount(Integer workforcesDepartment);

    /**
     * 根据科室id查询排班表信息，并分页
     * @param workforcesDepartment
     * @param current
     * @return
     */
    Map<String, Object> getWorkForcesList(Integer workforcesDepartment, int current);

    /**
     * 根据医生姓名和科室id查询医生个人的排班信息
     * @param workforcesDoctor
     * @param workforcesDepartment
     * @return
     */
    Map<String, Object> getWorkBydName(Integer workforcesDoctor, Integer workforcesDepartment);

}
